package com.huilian.iotbox.data.vo;

import com.huilian.iotbox.data.dto.QueryParam;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class TicketRecordVo extends QueryParam implements Serializable {

    private Long id;
    /**
     * 会员id
     */
    private Long memberId;
    /**
     * 商户id
     */
    private Integer userId;
    /**
     * 场地id
     */
    private Integer merchantStoreId;
    /**
     * 商品上下架id
     */
    private Long commodityStoreUpDownId;
    /**
     * 订单ID
     */
    private Integer orderId;
    /**
     * 兑换订单ID
     */
    private Integer orderExchangeId;
    /**
     * 指定到期时间
     */
    private Date specifyDueTime;
    /**
     * 剩余游玩次数
     */
    private Integer totalNumberOfPlay;
    /**
     * ticketPackageType=3，每个项目剩余可核销次数，例如[{commodityProjectUpDownId:1, time:5}]
     */
    private String productItemTimes;

    private Date usageTime;

    private Date createTime;

    private Date updateTime;
    private Integer ticketPackageType;
    private Boolean resetExpirationDate;
    private Integer numberOfDays;
    private Boolean quantityWrittenOff;
    private Integer everydayQuantityWrittenOff;
    private Integer numberOfPlay;
    private Integer used;
    private String commodityName;
    private String ticketPackageTypeName;
    private List<CommodityProjectUpDownVo> commodityProjectUpDownVoList;

    private String storeName;

    private String name;

    private String userName;

    private String nickName;

    private Boolean haveExpired;

    private List<CommodityProjectVo> commodityProjectVos;

    private Integer available;
    private Integer unavailable;
    /** 操作商户ID，User表的ID */
    private Integer operationUserId;

}
